home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gigarom 1
/
Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso
/
FILES
/
DEV
/
A-B
/
beachball.cpt
/
beachball ƒ
/
standard.h
< prev
Wrap
Text File
|
1988-01-06
|
949b
|
60 lines
/*
standards.h -- standard types and constants used in all DW's programs in Lightspeed C.
*/
/*constants*/
#define true -1
#define false 0
#define emptystring &"\p"
#define chhome ((char) 1)
#define chend ((char) 4)
#define chhelp ((char) 5)
#define chpageup ((char) 11)
#define chpagedown ((char) 12)
#define chdelete ((char) 127)
#define chrightarrow ((char) 29)
#define chleftarrow ((char) 28)
#define chuparrow ((char) 30)
#define chdownarrow ((char) 31)
#define chtab ((char) '\t')
#define infinity 32767
#define lenbigstring 255
#define scrollbarwidth 16
#define sizegrowicon 15 /*it's square, this is the length of each side*/
#define menubarheight 20
#define nil 0L
/*types*/
#define boolean int
#define bigstring Str255
typedef char *ptrchar;
typedef int *ptrint;
/*macros*/
#define sysbeep SysBeep (1) /*this one is driving me absolutely crazy*/
#define mod %
#define div /